#ifndef __NETDISK_H__
#define __NETDISK_H__
#include "standard_library.h" // 标准库
#include "command.h"
#include "my_tlv.h"
#include "train_io.h"
#include "crypt_7th.h"
#include "model_file.h"
#include "mysqlhelper.h"
#include "file_helper.h"
int commandCheck(char *command, train_t *train); // 检查命令
int epollAdd(int epfd, int fd);
int epollDel(int epfd, int fd);
int tcpConnect(const char *ip, const char *port);
int clientLogin(const char *ip, const char *port);
int cd_Cmd(int sockfd, train_t *train);
int ls_Cmd(train_t *train);
int pwd_Cmd(int sockfd, train_t *train);
int mkdir_Cmd(int sockfd, train_t *train);
int rmdir_Cmd(int sockfd, train_t *train);
int remove_Cmd(int sockfd, train_t *train);

#endif // !__NETDISK_H__
